
<ion-header>
  <ion-navbar color="dark">
    <ion-title class="center w80">{{title}}</ion-title>
    <ion-buttons right="">
      <button ion-button icon-only (click)="dismiss()">
        <ion-icon name="checkmark"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>



<ion-content padding>
    <ion-item *ngIf="dataType=='phone'">
      <ion-input type="tel" minlength="11" maxlength="11" placeholder="请输入{{title}}" [(ngModel)]="data" min="1" max="5"></ion-input>
    </ion-item>
  <ion-item *ngIf="dataType=='sportAllowJoinPersonNum'">
      <ion-input type="number" placeholder="请输入{{title}}" [(ngModel)]="data"  minlength="1" maxlength="2"></ion-input>
    </ion-item>

  <ion-item *ngIf="dataType=='pubSportDes'">
    <ion-label stacked>添加描述</ion-label>
    <ion-textarea type="text" rows="5" placeholder="输入10到20字描述信息" [(ngModel)]="data" minlength="10" maxlength="20"></ion-textarea>
  </ion-item>
</ion-content>
